<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<script src="vue.js"></script>
	<body>
		<div id="test1">
			<input @keyup.20="" type="text" name="" id="" value="" />
		</div>
	</body>
	<script>
	var app=new Vue({
		el:"#test1",
		data:{
			butto:"",
			han:"",
		},
		methods:{
			hang(event){
				this.han=this.han+"<h3>haha, 我是新增的一行</h3>"
			},
			but(event){
				this.butto=this.butto+"<button type='button'>点我增加一个按钮</button>"
			}
		}
	})
	
	</script>
</html>
